#include "genericplugin.h"
#include <QString>
#include <QDebug>

GenericPlugin::GenericPlugin(QObject *parent) :
    QObject(parent)
{
    pluginInfo = new PluginInfo();
    pluginInfo->name = "ASC文件解析";
    pluginInfo->pluginVersion = "V1.0.0";
    pluginInfo->interfaceType = PLUGININTERFACE_T1_V0_TYPE;
    pluginInfo->interfaceVersion = PLUGININTERFACE_T1_V0_VERSION;
}


GenericPlugin::~GenericPlugin()
{
}

PluginInfo* GenericPlugin::getPluginInfo()
{
    return pluginInfo;
}


QWidget* GenericPlugin::getWidget()
{
    return &widget;
}

#if QT_VERSION < 0x050000
Q_EXPORT_PLUGIN2(ColorTestForm, GenericPlugin)
#endif // QT_VERSION < 0x050000
